package com.zros.modules.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.entity.ChannelType;
import com.zros.modules.business.mapper.ChannelTypeMapper;
import com.zros.modules.business.service.IChannelTypeService;
import com.zros.modules.business.vo.ChannelTypeVo;

/**
 * <p>
 * 渠道类型表 服务实现类
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-20
 */
@Service
public class ChannelTypeServiceImpl extends ServiceImpl<ChannelTypeMapper, ChannelType> implements IChannelTypeService 
{
	@Autowired
	private ChannelTypeMapper channelTypeMapper;
	
	@Override
	public Page<ChannelTypeVo> queryList( Page<ChannelTypeVo> page, ChannelType channelType ) 
	{
		Page<ChannelTypeVo> pageChannelTypeVo = channelTypeMapper.queryList(page, channelType);
		return pageChannelTypeVo;
	}
}
